package com.njtoyo.taxi.admin.rest.export.driver;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.njtoyo.taxi.admin.mapper.master.enums.DriverWithdrawState;
import com.njtoyo.taxi.admin.rest.export.coverter.DriverWithdrawStateConverter;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class DriverWithdrawListData {
    @ExcelProperty(value = "提现ID")
    private Long id;

    @ExcelProperty(value = "司机ID")
    private Long driverId;

    @ExcelProperty(value = "司机姓名")
    private String driverName;

    @ExcelProperty(value = "收款户名")
    private String nameOnCard;

    @ExcelProperty(value = "收款银行")
    private String bankName;

    @ExcelProperty(value = "收款账号")
    private String cardNumber;

    @ExcelProperty(value = "金额")
    private BigDecimal amount;

    @ExcelProperty(value = "提现状态", converter = DriverWithdrawStateConverter.class)
    private DriverWithdrawState state;
}
